---@class Battle.AiCanUseSkill:Battle.AiCondition
---@field New fun():Battle.AiCanUseSkill
local AiCanUseSkill = Battle.CreateClass("AiCanUseSkill",Battle.AiCondition)
Battle.AiCanUseSkill = AiCanUseSkill

function AiCanUseSkill:Awake()


end
function AiCanUseSkill:onInitialize()
    self.skillId = self:GetParam(1)
    self:SetCondition(true,self:GetActor().skillSystem:CheckUseSkill(self.skillId),Battle.CompareType.Equals)
end
function AiCanUseSkill:ToString()
    local s = Battle.AiBehavior.ToString(self)
    return s.." In:"..tostring(self:IsTrigger())
end